#ifndef _TAG_UHF_H_
#define _TAG_UHF_H_
#include "tag_hf.h"

//UHF Tag
class CTag_UHF: public CTag_HF
{
public:
    QString m_rdata;//read data
    UINT32 m_timestamp;
    UINT32 m_frequency;
    QString m_writeOper;//write result
    QString m_lockOper;//lock result

public:
    CTag_UHF &operator=(const CTag_UHF &src)
    {
        m_uid = src.m_uid;//epc
        m_counter= src.m_counter;
        m_type = src.m_type;
        m_antNo = src.m_antNo;
        m_AIP = src.m_AIP;
        m_rssi = src.m_rssi;

        m_rdata = src.m_rdata;
        m_timestamp = src.m_timestamp;
        m_frequency = src.m_frequency;
        m_writeOper = src.m_writeOper;
        m_lockOper = src.m_lockOper;

        return *this;
    }
    bool equal(const CTag_UHF &src)
    {
        if(m_uid == src.m_uid)
            return true;
        return false;
    }
};
#endif // _TAG_UHF_H_
